package com.smartplatform.event;

import lombok.Data;
import lombok.ToString;

/**
 * @Author 咕唧
 * @Date 2022/5/27 20:48
 * @Version 1.0
 */
@Data
@ToString
public class LoginEvent {
    private LoginType type;

    private String username;

    public LoginEvent(LoginType type, String username) {
        this.type = type;
        this.username = username;
    }

    public enum LoginType {
        SUCCESS, FAIL
    }
}

